<div class="title">TÌM THẤY <?php echo count($duans);?> DỰ ÁN</div>
<div class="intro_content">
	<div class="clearfix">
		<div class="intro_left">
		<?php if(isset($duans)){?>
			<?php foreach($duans as $duan): ?>
			<div class="box_project">
					
				<div class="project_left">
					<a href="<?php echo $this->webroot;?>project-<?php echo $duan['Duan']['id'];?>/<?php echo str_replace(" ","-",$duan['Duan']['tieude'])?>.html">
						<img src="<?php echo $this->webroot;?>app/webroot/upload/<?php echo $duan['Duan']['hinhdaidien'];?>" alt="<?php echo $duan['Duan']['tieude'];?>" width="250" height="193">
					</a>
				</div>
				<div class="project_right">
					<div class="project_right_title"><a href="<?php echo $this->webroot;?>project-<?php echo $duan['Duan']['id'];?>/<?php echo str_replace(" ","-",$duan['Duan']['tieude'])?>.html"><?php echo $duan['Duan']['tieude'];?></a></div>
					<div class="project_right_content">
						<div class="clearfix">
							<div class="left">
							<div class="address"><?php echo $duan['Duan']['diachi'];?></div>
							<div class="description">
							<?php
								echo $duan['Duan']['mota'];
							?>
							</div>
							</div>
							<div class="right">
								<div style="font-size:11px;">Chủ đầu tư :</div>
								<ul>
								<?php if($duan['Duan']['chudautu']){?>
								<li><b><?php echo $duan['Duan']['chudautu'];?></b></li>
								<?php } ?>
								</ul>
								<div style="font-size:11px;">Ngày đăng : </div>
								<ul>
								<?php if($duan['Duan']['ngaydang']){?>
								<li>
									<a href="javascript:void(0)">
									<?php echo date("d-m-Y", strtotime($duan['Duan']['ngaydang']));?>                                   
									</a>
								</li>
								<?php } ?>
								</ul>
								
								<div style="font-size:11px;">HotLine :</div>
								<ul>
								<?php if($duan['Duan']['sdtlienlac']){?>
								<li>
									<a href="javascript:void(0)">
									<?php echo $duan['Duan']['sdtlienlac'];?>
									</a>
								</li>
								<?php } ?>
								</ul>
							
							</div>
						</div>    
					</div>
					 <div class="project_right_bottom"><a href="<?php echo $this->webroot;?>project-<?php echo $duan['Duan']['id'];?>/<?php echo str_replace(" ","-",$duan['Duan']['tieude'])?>.html">Xem chi tiết dự án này</a></div>
				</div>
				<div class="project_right"></div>
				
			</div><!--End box_project-->
			
			<?php endforeach; ?>
			<?php } ?>
			<!-- Pagging -->
			<div class="paging">
				<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
			 | 	<?php echo $this->Paginator->numbers();?>
		 |
				<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
			</div>
		</div>
		<div class="intro_right">                   
			<div class="box_right">
				<div class="box_right_top">
				</div>
				<div class="box_right_center">
					<div class="box_right_title" style="font-weight:bold;color:#0b4b5e">CÁC TIN RAO</div>
					<div class="box_right_content">
						<?php echo $this->element('tinraos-right');?>                           
					</div>
				</div>
				<div class="box_right_bottom"></div>
			</div>
		</div>
	</div>
	
</div>